
package com.carsite.service;

import java.util.List;

import com.carsite.model.Branch;

public interface BranchManager extends Manager {
    /**
     * Retrieves all of the branchs
     */
    public List getBranchs(Branch branch);

    /**
     * Gets branch's information based on branchId.
     * @param branchId the branch's branchId
     * @return branch populated branch object
     */
    public Branch getBranch(final String branchId);

    /**
     * Saves a branch's information
     * @param branch the object to be saved
     */
    public void saveBranch(Branch branch);

    /**
     * Removes a branch from the database by branchId
     * @param branchId the branch's branchId
     */
    public void removeBranch(final String branchId);

	public List getTopBranchs();
}

